import Vue from 'vue';
import Router from 'vue-router';
import EmployeeManagement from '../components/EmployeeManagement.vue';
import TimeManagement from '../components/TimeManagement.vue';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/employees',
            component: EmployeeManagement,
        },
        {
            path: '/time',
            component: TimeManagement,
        },
        {
            path: '*',
            redirect: '/employees',
        },
    ],
});
